package com.example.reactor.r2dbc.db;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

/**
 * @author zpMeng
 * @since 6/16/2025
 */
@Data
@NoArgsConstructor
@Table("customer")
public class Customer {
    @Id
    private Long id;
    private String firstName;
    private String LastName;

    public Customer(String firstName, String LastName) {
        this.firstName = firstName;
        this.LastName = LastName;
    }
}
